﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wijmo.master" AutoEventWireup="true"
    CodeBehind="ModalDialog.aspx.cs" Inherits="Dialog_ModalDialog" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.3" Namespace="C1.Web.Wijmo.Controls.C1Dialog"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <cc1:C1Dialog ID="dialog" runat="server" Width="400px" Height="180px" Modal="true"
        Stack="True" CloseText="Close" Title="模态对话框">
        <Content>
            <p>
                添加模态叠加屏幕可以使对话更加突出，因为它使页面内容变淡了。</p>
        </Content>
        <ExpandingAnimation Duration="400" />
        <CollapsingAnimation Duration="300" />
    </cc1:C1Dialog>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Description" runat="server">
    <p>
       添加模态叠加屏幕可以使对话更加突出，因为它使页面内容变淡了。
    </p>
    <b>Modal</b>属性被设为True，功能将被启用。 </li>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ControlOptions" runat="server">
    <input type="button" value="显示对话框" onclick="$('#<%=dialog.ClientID%>').c1dialog('open')" />
</asp:Content>
